/*
   file : where.h
   University of Jiangsu
   memoryDB      2010.6
 */

#ifndef _MMDB_WHERE_HEAD_H
#define _MMDB_WHERE_HEAD_H

#include"def_head.h"

int IsNodeFull(Where_node *);
int AddWhereNode(Where *,Where_node *,WhereTable *);
int AddWhereTable(Where *,WhereTable *);
Field *Find_Recordfield(Record *,char *);
int CmpFid_Fid(Field *,Field *,enum Cmp_opt);
int DoWhere_Scan(char *,Where *,Record *);
void Get_Cmp_Field(Where *,Record *);
int DoWhere(char *,Where *,Record *);

#endif
